import { Injectable } from '@angular/core'; 
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
// import 'rxjs/add/operator/catch';
// import 'rxjs/add/operator/map';
import 'rxjs/Rx';

@Injectable()
export class LookService {
  data: string;

  constructor(public http: Http){}

  public getAllcategory(): Observable<string> {
    return this.http.get("assets/json/look_list.json")
      .map(res => res.json().content);
  }
}
 